/* Layout 布局 实现一行5列布局 begin */
@media only screen and (min-width: 768px) {
  .el-col-sm-4-8 {
    width: 20% !important;
  }
  .el-col-sm-offset-4-8 {
    margin-left: 20%;
  }
  .el-col-sm-pull-4-8 {
    position: relative;
    right: 20%;
  }
  .el-col-sm-push-4-8 {
    position: relative;
    left: 20%;
  }
}

@media only screen and (min-width: 992px) {
  .el-col-md-4-8 {
    width: 20% !important;
  }
  .el-col-md-offset-4-8 {
    margin-left: 20%;
  }
  .el-col-md-pull-4-8 {
    position: relative;
    right: 20%;
  }
  .el-col-md-push-4-8 {
    position: relative;
    left: 20%;
  }
}

@media only screen and (min-width: 1600px) {
  .el-col-lg-4-8 {
    width: 20% !important;
  }
  .el-col-lg-offset-4-8 {
    margin-left: 20%;
  }
  .el-col-lg-pull-4-8 {
    position: relative;
    right: 20%;
  }
  .el-col-lg-push-4-8 {
    position: relative;
    left: 20%;
  }
}

@media only screen and (min-width: 1920px) {
  .el-col-xl-4-8 {
    width: 20% !important;
  }
  .el-col-xl-offset-4-8 {
    margin-left: 20%;
  }
  .el-col-xl-pull-4-8 {
    position: relative;
    right: 20%;
  }
  .el-col-xl-push-4-8 {
    position: relative;
    left: 20%;
  }
}
/* Layout 布局 实现一行5列布局 end */

/**
覆盖elementui单元格 show-overflow-tooltip="true"进行溢出弹出窗显示100%
https://www.cnblogs.com/csji/p/12994585.html
 */
.el-tooltip__popper {
  max-width: 50%
}

/* wang富文本层级太高 */
.w-e-toolbar {
  z-index: 2 !important;
}

.w-e-menu {
  z-index: 2 !important;
}

.w-e-text-container {
  z-index: 1 !important;
}

/* el-table-column-image */
.etc-image {
  width: 45px;
  height: 45px;
  border-radius: 5px;
  vertical-align: middle;
}

/* 解决el-select type=small 下拉箭头偏下 */
.el-input__icon {
  height: auto !important;
}

/* Element UI中el-dialog中内容超出自定义滚动条 */
.sketch_content {
  /* 必须有高度 overflow 为自动 */
  overflow: auto;
  max-height: 62vh;
  padding-right: 10px;
  /*border-top: 1px solid #eff1f4;*/
  /*border-bottom: 1px solid #eff1f4;*/
  /*padding: 0 30px 11px 27px;*/
}

/* 滚动条的样式,宽高分别对应横竖滚动条的尺寸 */
.sketch_content::-webkit-scrollbar {
  width: 3px;
}

/* 滚动条里面默认的小方块,自定义样式 */
.sketch_content::-webkit-scrollbar-thumb {
  background: #8798AF;
  border-radius: 2px;
}

/* 滚动条里面的轨道 */
.sketch_content::-webkit-scrollbar-track {
  background: transparent;
}

/* Message.error无法显示最上层 设置的值一定要比2007大，因为dialog的层级是2007 */
.messageIndex {
  z-index: 9999 !important;
}

/* 详情页面富文本 */
div.p-zero > p {
  margin: 0;
}

/* 表格单元格上下间距 */
.el-table td, .el-table th {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.search {

}

/* 列表搜索区域 form输入框 底部间距*/
.search .el-form-item {
  margin-bottom: 12px;
}
